package com.hz.basic.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hz.basic.dao.CityDao;
import com.hz.basic.entity.CityEntity;
import com.hz.basic.service.CityService;
import org.springframework.stereotype.Service;


@Service("cityService")
public class CityServiceImpl extends ServiceImpl<CityDao, CityEntity> implements CityService {

    @Override
    public CityEntity getCityByName(String province) {
        return this.baseMapper.getCityByName(province);
    }
}